<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../js/vue.js"></script>
    <style>

    </style>
</head>
<body>

    <div id="app">
        <div v-if="temp">看到我了</div>
        <div v-else-if="temp1">今天星期二</div>
        <div v-else="temp">看到他了</div>
        <button type="button" @click="temp=!temp">点我</button>
    </div>

</body>
<script>
    new Vue({
        el:"#app",
        data:{
            temp:false,
            temp1:true
        }

    })
</script>
</html>